package com.pcbly.web.persistence.role;

import java.util.List;
import java.util.Map;

import com.pcbly.web.bean.system.RoleBean;
import com.pcbly.web.persistence.BaseDao;

public interface RoleDao extends BaseDao<RoleBean> {
	public List<RoleBean> queryRoleBeansByUserId(String userId)
			throws Exception;

	public List<RoleBean> queryRoleBeansByAuthorityId(String authorityId)
			throws Exception;
	public List<RoleBean> findBy(Map<String, String> filter)throws Exception;
	void saveRoleBean(RoleBean bean) throws Exception;
}
